<template>
  <div class="title-box">
    <div class="title-line"></div>
    <div class="title-text">
      <h2>{{ title }}</h2>
      <p>{{ subtitle }}</p>
    </div>
  </div>
</template>

<script setup>
defineProps({
  title: String,
  subtitle: String
})
</script>

<style scoped>
.title-box {
  display: flex;
  align-items: center;
  margin: 40px 0 20px;
  padding-left: 105px;
}
.title-line {
  width: 4px;
  height: 50px;
  background-color: #a30b1b;
  margin-right: 12px;
}
.title-text h2 {
  font-size: 26px;
  color: #a30b1b;
  font-weight: 600;
  margin: 0;
}
.title-text p {
  font-size: 18px;
  color: #bcbcbc;
  margin-top: 4px;
  font-weight: bold;
  letter-spacing: 1px;
}
</style>
